#include "multiTouchPilot.h"


MultiTouchPilot::MultiTouchPilot(){

parent=NULL;
mutex=NULL;
name="multiTouchPilot";

}

void MultiTouchPilot::ProcessMessage( const osc::ReceivedMessage& m,const IpEndpointName& remoteEndpoint ){



        try{
            // example of parsing single messages. osc::OsckPacketListener
            // handles the bundle traversal.
            std::cout << "yay!";


        }catch( osc::Exception& e ){
            // any parsing errors such as unexpected argument types, or
            // missing arguments get thrown as exceptions.
            std::cout << "error while parsing message: "
                << m.AddressPattern() << ": " << e.what() << "\n";
        }
    }

void MultiTouchPilot::ProcessPacket( const char *data, int size,
			const IpEndpointName& remoteEndpoint )
    {
        std::cout << "yay!";
    //std::cout << osc::ReceivedPacket( data, size );
    }

void MultiTouchPilot::processMultiTouch(){


}
